<?php
    $serverpath=$_SERVER['DOCUMENT_ROOT'];
    include_once ($serverpath.'/Classes/book.php');
	$id=$_POST['id'];
	$searchbook = new Book($id);
	$serialize_searchbook = serialize($searchbook);
	file_put_contents('store_searchbook',$serialize_searchbook);
	header ('Location: modifyItem.php');
?>